﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<script runat="server" >
    protected void Page_Load(object sender, EventArgs e)
    {
        grDiary.DataSource = ViewBag.result;
        grDiary.DataBind();
    }
     
</script>

<form id="Form1" runat="server">
    <asp:gridview id="grDiary"  runat="server" CssClass="webGrid"></asp:gridview>
</form>
